package com.ruoyi.buy.domain.entity.buy0001;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 角色表 sys_role
 * 
 * @author ruoyi
 */
public class BuySpa extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    private Long iD;

    private String vSpa;

    /** 角色名称 */
    @Excel(name = "角色名称")
    private String vSpaName;


    /** 类型*/
    @Excel(name = "类型")
    private String vKind;

    /** 规格型号*/
    @Excel(name = "规格型号")
    private String vSpaModel;

    /** 规格型号*/
    @Excel(name = "品牌")
    private String vSpaBrand;

    /** 单位*/
    @Excel(name = "单位")
    private String vUnit;


    /** 最近采购价格*/
    @Excel(name = "最近采购价格")
    private BigDecimal nLastPrice;

    /** 价格更新时间*/
    @Excel(name = "价格更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dBuy;

    private BigDecimal isLowQty;

    private String isLowWarning;

    private String delFlag;

    private BigDecimal nValidityDays;

    private BigDecimal nQty;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date dValidity;

    private String vContractNo;

    private String supplier;

    private String nDays;

    private String dContract;

    private String vBuyNo;

    private String vProjectNo;

    private String vProjectDesc;

    private BigDecimal nTotalPrice;

    private String applyBy;

    private String vType;

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getnDays() {
        return nDays;
    }

    public void setnDays(String nDays) {
        this.nDays = nDays;
    }

    public String getvContractNo() {
        return vContractNo;
    }

    public void setvContractNo(String vContractNo) {
        this.vContractNo = vContractNo;
    }

    public Date getdValidity() {
        return dValidity;
    }

    public void setdValidity(Date dValidity) {
        this.dValidity = dValidity;
    }

    public BigDecimal getnValidityDays() {
        return nValidityDays;
    }

    public void setnValidityDays(BigDecimal nValidityDays) {
        this.nValidityDays = nValidityDays;
    }

    public BigDecimal getnQty() {
        return nQty;
    }

    public void setnQty(BigDecimal nQty) {
        this.nQty = nQty;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public BigDecimal getIsLowQty() {
        return isLowQty;
    }

    public void setIsLowQty(BigDecimal isLowQty) {
        this.isLowQty = isLowQty;
    }

    public String getIsLowWarning() {
        return isLowWarning;
    }

    public void setIsLowWarning(String isLowWarning) {
        this.isLowWarning = isLowWarning;
    }

    public Long getiD() {
        return iD;
    }

    public void setiD(Long iD) {
        this.iD = iD;
    }

    public BuySpa()
    {

    }

    public String getvSpaName() {
        return vSpaName;
    }

    public void setvSpaName(String vSpaName) {
        this.vSpaName = vSpaName;
    }


    public String getvSpaModel() {
        return vSpaModel;
    }

    public void setvSpaModel(String vSpaModel) {
        this.vSpaModel = vSpaModel;
    }

    public String getvSpaBrand() {
        return vSpaBrand;
    }

    public void setvSpaBrand(String vSpaBrand) {
        this.vSpaBrand = vSpaBrand;
    }


    public BigDecimal getnLastPrice() {
        return nLastPrice;
    }

    public void setnLastPrice(BigDecimal nLastPrice) {
        this.nLastPrice = nLastPrice;
    }

    public LocalDateTime getdBuy() {
        return dBuy;
    }

    public void setdBuy(LocalDateTime dBuy) {
        this.dBuy = dBuy;
    }

    public String getvKind() {
        return vKind;
    }

    public void setvKind(String vKind) {
        this.vKind = vKind;
    }

    public String getvUnit() {
        return vUnit;
    }

    public void setvUnit(String vUnit) {
        this.vUnit = vUnit;
    }

    public String getvSpa() {
        return vSpa;
    }

    public void setvSpa(String vSpa) {
        this.vSpa = vSpa;
    }

    public String getdContract() {
        return dContract;
    }

    public void setdContract(String dContract) {
        this.dContract = dContract;
    }

    public String getvBuyNo() {
        return vBuyNo;
    }

    public void setvBuyNo(String vBuyNo) {
        this.vBuyNo = vBuyNo;
    }

    public String getvProjectNo() {
        return vProjectNo;
    }

    public void setvProjectNo(String vProjectNo) {
        this.vProjectNo = vProjectNo;
    }

    public String getvProjectDesc() {
        return vProjectDesc;
    }

    public void setvProjectDesc(String vProjectDesc) {
        this.vProjectDesc = vProjectDesc;
    }

    public BigDecimal getnTotalPrice() {
        return nTotalPrice;
    }

    public void setnTotalPrice(BigDecimal nTotalPrice) {
        this.nTotalPrice = nTotalPrice;
    }

    public String getApplyBy() {
        return applyBy;
    }

    public void setApplyBy(String applyBy) {
        this.applyBy = applyBy;
    }

    public String getvType() {
        return vType;
    }

    public void setvType(String vType) {
        this.vType = vType;
    }

    @Override
    public String toString() {
        return "BuySpa{" +
                "iD=" + iD +
                ", vSpa='" + vSpa + '\'' +
                ", vSpaName='" + vSpaName + '\'' +
                ", vKind='" + vKind + '\'' +
                ", vSpaModel='" + vSpaModel + '\'' +
                ", vSpaBrand='" + vSpaBrand + '\'' +
                ", vUnit='" + vUnit + '\'' +
                ", nLastPrice=" + nLastPrice +
                ", dBuy=" + dBuy +
                ", isLowQty=" + isLowQty +
                ", isLowWarning='" + isLowWarning + '\'' +
                ", delFlag='" + delFlag + '\'' +
                ", nValidityDays=" + nValidityDays +
                ", nQty=" + nQty +
                ", dValidity=" + dValidity +
                ", vContractNo='" + vContractNo + '\'' +
                ", supplier='" + supplier + '\'' +
                ", nDays='" + nDays + '\'' +
                ", dContract='" + dContract + '\'' +
                ", vBuyNo='" + vBuyNo + '\'' +
                ", vProjectNo='" + vProjectNo + '\'' +
                ", vProjectDesc='" + vProjectDesc + '\'' +
                ", nTotalPrice=" + nTotalPrice +
                ", applyBy='" + applyBy + '\'' +
                ", vType='" + vType + '\'' +
                '}';
    }
}
